<?php

use yii\helpers\Url;

$this->registerCssFile('/css/friends.css', ['depends' => ['frontendx\assets\AppAsset']]);
?>
<div class="share-alert">
    <div class="content">
        <div class="title">分享 <i>&times;</i></div>
        <div class="contact-icon">
            <div class="group">
                <i></i>
                <span>微信好友</span>
            </div>
            <div class="group">
                <i></i>
                <span>朋友圈</span>
            </div>
            <div class="group">
                <i></i>
                <span>QQ</span>
            </div>
            <div class="group">
                <i></i>
                <span>新浪微博</span>
            </div>
        </div>
    </div>
</div>
<img class="friends-banner" src="../images/friends-banner.png"> </img>
<div class="info">
    <img src="../images/face.png" alt=""/>
    <div class="text">
        <div class="left" id="shareLeft" url="friends">
            <span><?php echo $mytuicount; ?>人</span>
            <small>邀请人数</small>
        </div>
        <div class="right" id="shareRight" url="friends">
            <span>¥ <?php echo Yii::$app->formatter->asDecimal(Yii::$app->user->identity->wallet->offline_amount); ?></span>
            <small>邀请收入</small>
        </div>
    </div>
</div>

<div class="share">
    <p>分享推广海报，获得更多小伙伴，有丰厚奖励哦！</p>
    <div class="qr-code">
        <img src="<?php echo yii\helpers\Url::to(["profile/qrcode"]) ?>" alt=""/>
    </div>
    <button id="share">分享海报</button>
</div>